Modest Maps is a small, extensible, and free library for designers and developers who want to use interactive maps in their own projects. It provides a core set of features in a tight, clean package with plenty of hooks for additional functionality.
It doesn't try to include every possible map control or layer type. It's designed to be a simple platform to build upon. The code is well-designed, tested and deployed widely - thousands of maps already use the toolkit. And while we aim for the highest performance and compatibility with new technology, it is tested against older browsers, including Internet Explorer.
var template = 'http://c.tiles.mapbox.com/v3/examples.map-szwdot65/{Z}/{X}/{Y}.png'; var provider = new MM.TemplatedLayer(template); var map = new MM.Map('map', provider); map.setZoom(10).setCenter({ lat: 51.55, lon: 0.1 });
Get the code
Compatible with Firefox, Chrome, Opera, iOS, Android, and Internet Explorer 7-9.
modestmaps.min.js 10KB minified & gzippedOther implementations
A Processing library for creative coding in the Processing language
Utilities in the OpenFrameworks library, a C++ environment for visual code